package com.adaxi.adc.business.vehicletrip.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.adaxi.adc.business.vehicletrip.pojo.VehicleTripLocation;
import com.adaxi.adc.business.vehicletrip.service.VehicleTripLocationService;
import com.adaxi.adc.business.vehicletrip.mapper.VehicleTripLocationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 钟红树
* @description 针对表【adc_vehicle_trip_location(司机行程的实时位置信息表)】的数据库操作Service实现
* @createDate 2023-10-07 15:54:03
*/
@Service
public class VehicleTripLocationServiceImpl extends ServiceImpl<VehicleTripLocationMapper, VehicleTripLocation>
    implements VehicleTripLocationService{
    @Autowired
    VehicleTripLocationMapper mapper;





    @Override
    public void updateLocal(VehicleTripLocation vehicleTripLocation) {
        mapper.updateLocal(vehicleTripLocation);
    }

    @Override
    public boolean isVehicleTripId(String vehicleTripId) {
        return mapper.isVehicleTripId(vehicleTripId);
    }
}




